<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header", "default"); ?>
<?php include template("content","header_search", "default"); ?>
<!-- 内容begin-->
<div id="shop">
	<div class="pic_h">
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=150dd2d92bcfdc84feede2194d67e0b2&action=get_decoration_space&num=25&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'get_decoration_space')) {$pagesize = 25;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'get_decoration_space',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->get_decoration_space(array('order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'get_decoration_space',));}?>
		<div class="pic_h_l">空间：</div>
			<div class="pic_h_r">
				<a href="index.php?m=content&c=lists&a=l_case&catid=24&sp=&tp=<?php echo $_GET['tp'];?>&st=<?php echo $_GET['st'];?>" <?php if($_GET['sp']=='') { ?> class="b"<?php } ?>>全部</a>|
				<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
				<a <?php if($_GET['sp']==$r[linkageid]) { ?> class="b"<?php } ?> href="index.php?m=content&c=lists&a=l_case&catid=24&sp=<?php echo $r['linkageid'];?>&tp=<?php echo $_GET['tp'];?>&st=<?php echo $_GET['st'];?>"><?php echo $r['name'];?></a>|
				<?php $n++;}unset($n); ?>
			</div>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
		<Br>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=a79108f37207e590369c1194a8793ca5&action=get_house_style&num=25&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'get_house_style')) {$pagesize = 25;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'get_house_style',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->get_house_style(array('order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'get_house_style',));}?>
		<div class="pic_h_l">户型：</div><div class="pic_h_r">
			<a <?php if($_GET['tp']=='') { ?> class="b"<?php } ?>  href="index.php?m=content&c=lists&a=l_case&catid=24&sp=<?php echo $_GET['sp'];?>&tp=&st=<?php echo $_GET['st'];?>" >全部</a>|
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
			<a <?php if($_GET['tp']==$r[linkageid]) { ?> class="b"<?php } ?> href="index.php?m=content&c=lists&a=l_case&catid=24&sp=<?php echo $_GET['sp'];?>&tp=<?php echo $r['linkageid'];?>&st=<?php echo $_GET['st'];?>"><?php echo $r['name'];?></a>|
			<?php $n++;}unset($n); ?>		
		</div>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=210d1b4b8c5c13f1e3989305b1c549ef&action=get_decoration_style&num=25&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'get_decoration_style')) {$pagesize = 25;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'get_decoration_style',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->get_decoration_style(array('order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'get_decoration_style',));}?>
		<div class="pic_h_l">风格：</div><div class="pic_h_r">
			<a <?php if($_GET['st']=='') { ?> class="b"<?php } ?> href="index.php?m=content&c=lists&a=l_case&catid=24&sp=<?php echo $_GET['sp'];?>&tp=<?php echo $r['tp'];?>&st=">全部</a>|
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
			<a <?php if($_GET['st']==$r[linkageid]) { ?> class="b"<?php } ?> href="index.php?m=content&c=lists&a=l_case&catid=24&sp=<?php echo $_GET['sp'];?>&tp=<?php echo $_GET['tp'];?>&st=<?php echo $r['linkageid'];?>"><?php echo $r['name'];?></a>|
			<?php $n++;}unset($n); ?>		
		</div>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
	</div>
	
	<div class="pic_m">
		<div class="pic_m_title"><a href="#">装饰案例图库</a>> 所有 </div>
		<div class="more"><?php echo $pages;?></div>
		<div class="pic_m01">
	
				<ul>
				<?php $n=1;if(is_array($array)) foreach($array AS $r) { ?>
					<li>
						<a href="<?php echo $r['url'];?>"><img src="<?php echo thumb($r[thumb],150,112);?>" width="120" height="90" alt="<?php echo $r['title'];?>"/></a>
						<p><a href="<?php echo $r['url'];?>" class="strong color05"><?php echo $r['title'];?></a><br /><a href="#" class="color03"><?php echo str_cut(get_linkagevalue(3377,$r[house_type],'name'),17);?></a><span class="color03"><?php echo $r['project_cost'];?>万</span><br /><span class="span01 color05">点击：<span class="span01"><?php echo $r['views'];?></span></span></p>
					</li>
					<?php $n++;}unset($n); ?>
				</ul>
			
			
			</div>
			<div class="more"><?php echo $casepages;?></div>
	</div>
</div>
<!-- 内容end-->
  <!--友情链接begin-->
<div class="m06">
	<div class="m06_title"><h1><a href="#">友情链接</a></h1></div>
	<ul>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=99c32cd273c57223c20074bf5196e97a&action=type_list&siteid=%24siteid&order=listorder+DESC&num=10&return=dat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$dat = $link_tag->type_list(array('siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'10',));}?>
		<?php $n=1;if(is_array($dat)) foreach($dat AS $v) { ?>
              <?php if($type==0) { ?>
            <li>  <a href="<?php echo $v['url'];?>" target="_blank"><?php echo $v['name'];?></a>  </li>
              <?php } else { ?>
             <li> <a href="<?php echo $v['url'];?>" target="_blank"><img src="<?php echo $v['logo'];?>" width="88" height="31" style="border: 1px solid #FFBE7A;"></a> </li>
              <?php } ?>
		<?php $n++;}unset($n); ?>
	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
	</ul>
</div>
<!-- 友情链接end-->
<!-- 内容end-->


<?php include template("content","footer"); ?>